package com.xxxy.hyc.xyxmp.bean;

public class Cart {

    private int id;
    private int goodsId;
    private int count;

    public Cart(int goodsId, int count) {
        this.goodsId = goodsId;
        this.count = count;
    }

    // Getter和Setter（全部生成）
    public int getId() { return id; }
    public void setId(int id) { this.id = id; }
    public int getGoodsId() { return goodsId; }
    public void setGoodsId(int goodsId) { this.goodsId = goodsId; }
    public int getCount() { return count; }
    public void setCount(int count) { this.count = count; }
}